home *** CD-ROM | disk | FTP | other *** search
- IEEE_REMAINDER(3I) Last changed: 1-6-98
-
-
- NNAAMMEE
- IIEEEEEE__RREEMMAAIINNDDEERR - Returns the remainder of _x divided by _y
-
- SSYYNNOOPPSSIISS
- IIEEEEEE__RREEMMAAIINNDDEERR (([XX==]_x,, [YY==]_y))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS/mk and IRIX systems
-
- CRAY T90 systems that support IEEE floating-point arithmetic
-
- SSTTAANNDDAARRDDSS
- CF90 and MIPSpro 7 Fortran 90 compiler extension to Fortran 90
-
- IEEE Standard for Binary Floating-point Arithmetic
-
- DDEESSCCRRIIPPTTIIOONN
- The IIEEEEEE__RREEMMAAIINNDDEERR intrinsic function returns the remainder of the
- operation _x divided by _y. Note that this function does not have
- precisely the same definition as either of the Fortran 90 intrinsic
- functions MMOODD(3M) or MMOODDUULLOO(3I).
-
- The IIEEEEEE__RREEMMAAIINNDDEERR function accepts the following arguments:
-
- _x Must be of type real. It can be scalar or an array.
-
- _y Must be of type real. If _x is scalar, _y can be scalar or an
- array. If _x is an array, _y can be scalar or an array of the
- same shape as _x.
-
- IIEEEEEE__RREEMMAAIINNDDEERR is an elemental function. The name of this intrinsic
- cannot be passed as an argument.
-
- NNOOTTEESS
- The IEEE intrinsic procedures use the named constants contained in a
- system module, so you must include one of the following statements in
- your program:
-
- * On UNICOS and UNICOS/mk systems: UUSSEE CCRRII__IIEEEEEE__DDEEFFIINNIITTIIOONNSS
-
- * On UNICOS, UNICOS/mk, and IRIX systems: UUSSEE FFTTNN__IIEEEEEE__DDEEFFIINNIITTIIOONNSS
-
- The CCRRII__IIEEEEEE__DDEEFFIINNIITTIIOONNSS module is obsolescent. It will be removed
- for the CF90 4.0 release.
-
- RREETTUURRNN VVAALLUUEESS
- The same type and kind type parameter as the argument of the largest
- precision and range. For example, if _x is type RREEAALL((KKIINNDD==44)) and _y is
- type RREEAALL((KKIINNDD==88)), the result is of type RREEAALL((KKIINNDD==88)). If either _x or
- _y is an array, the result is an array of the same shape as one of the
- array arguments.
-
- The form of the result value is determined as follows:
-
- * If _x and _y are both scalar, the result is a scalar.
-
- * If _x is an array and _y is scalar, the result is an array in which
- each element is the remainder of
- _x divided by _y.
- _i
-
- * If _x is scalar and _y is an array, the result is an array in which
- each element is the remainder of _x divided by
- _y .
- _i
-
- * If _x is an array and _y is an array, the result is an array in which
- each element is the remainder of
- _x divided by _y .
- _i _i
-
- EEXXAAMMPPLLEESS
- REAL x, y, r
- ... ! Compute X and Y.
- r = IEEE_REMAINDER(x, y)
-
- IF (r /= 0.0) THEN
- ...
- END IF
-
- SSEEEE AALLSSOO
- MMOODD(3M) MMOODDUULLOO(3I)
-
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
- printed version of this man page.
-
-